<template>
	<!-- 外面最大的div -->
	<view class="sideBox">
		<view class="center">
			<!-- 上面的楼户信息 -->
			<view class="userListBox">
				<text>一栋一单元</text>
			</view>
			<!-- 楼户里面的巡检信息 -->
			<view class="uListDetail">
				<!-- 一户人家 -->
				<view class="user1" v-for="(item, index) in  userListArr">
					<text>{{item.num}}</text>
					<text class="no">{{item.state}}</text>
				</view>
				
				
			</view>
		</view>
		
	</view>
</template>

<script>
export default {
	data(){
		return {
			userListArr:[{
				num: '101',
				state: '未巡检'
			},{
				num: '102',
				state: '未巡检'
			},{
				num: '103',
				state: '未巡检'
			},{
				num: '104',
				state: '未巡检'
			},{
				num: '105',
				state: '未巡检'
			}] 
		}
	}
}
</script>

<style lang="less" scoped>
.sideBox {
	width: 750rpx;
	background-color: #f6f7f8;
	.center {
		width: 690rpx;
		margin: 0 auto;
		.userListBox {
			display: flex;
			align-items: center;
			width: 690rpx;
			height: 114rpx;
			text {
				font-size: 25rpx;
				font-weight: 600;
				color: #999999;
				padding-left: 15rpx;
				border-left: 3px solid #157ef9;
			}
		}
		.uListDetail {
			display: flex;
			justify-content: space-around;
			flex-wrap: wrap;
			.user1 {
				width: 160rpx;
				height: 160rpx;
				border-radius: 12rpx;
				background: #fff;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				margin-top: 20rpx;
				text:nth-child(1) {
					font-size: 40rpx;
					
				}
				text:nth-child(2) {
					margin-top: 25rpx;
					font-size: 25rpx;
				}
			}
			
		}
	}
}
.already {
	color: #157ef9;
}
.no {
	color: #838383;
}
</style>
